\hypertarget{class_deadzone_filter}{\section{Deadzone\-Filter Class Reference}
\label{class_deadzone_filter}\index{Deadzone\-Filter@{Deadzone\-Filter}}
}


{\ttfamily \#include $<$Deadzone\-Filter.\-hpp$>$}

Inheritance diagram for Deadzone\-Filter\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_deadzone_filter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_deadzone_filter_a7862078e89ae9286e4e6307d4b3e349d}{Deadzone\-Filter} (float deadzone\-Radius)
\item 
virtual \hyperlink{class_deadzone_filter_abc72aa739e2019de55cb8ea0c660029f}{$\sim$\-Deadzone\-Filter} ()
\item 
virtual \hyperlink{struct_joystick_value}{Joystick\-Value} \hyperlink{class_deadzone_filter_a76118544494a1c189200749b06f53640}{Apply} (const \hyperlink{struct_joystick_value}{Joystick\-Value} \&input) const 
\item 
virtual \hyperlink{struct_two_joystick_value}{Two\-Joystick\-Value} \hyperlink{class_deadzone_filter_aff26f9be31f1f37ad0a42d0bc636ad57}{Apply} (const \hyperlink{struct_two_joystick_value}{Two\-Joystick\-Value} \&input) const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \hyperlink{class_deadzone_filter}{Deadzone\-Filter} class is \hyperlink{class_filter}{Filter} that applies a deadzone to an input \hyperlink{struct_joystick_value}{Joystick\-Value} or \hyperlink{struct_two_joystick_value}{Two\-Joystick\-Value}. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_deadzone_filter_a7862078e89ae9286e4e6307d4b3e349d}{\index{Deadzone\-Filter@{Deadzone\-Filter}!Deadzone\-Filter@{Deadzone\-Filter}}
\index{Deadzone\-Filter@{Deadzone\-Filter}!DeadzoneFilter@{Deadzone\-Filter}}
\subsubsection[{Deadzone\-Filter}]{\setlength{\rightskip}{0pt plus 5cm}Deadzone\-Filter\-::\-Deadzone\-Filter (
\begin{DoxyParamCaption}
\item[{float}]{deadzone\-Radius}
\end{DoxyParamCaption}
)}}\label{class_deadzone_filter_a7862078e89ae9286e4e6307d4b3e349d}
Constructor for \hyperlink{class_deadzone_filter}{Deadzone\-Filter}.


\begin{DoxyParams}{Parameters}
{\em deadzone\-Radius} & The desired radius of the deadzone. \\
\hline
\end{DoxyParams}
\hypertarget{class_deadzone_filter_abc72aa739e2019de55cb8ea0c660029f}{\index{Deadzone\-Filter@{Deadzone\-Filter}!$\sim$\-Deadzone\-Filter@{$\sim$\-Deadzone\-Filter}}
\index{$\sim$\-Deadzone\-Filter@{$\sim$\-Deadzone\-Filter}!DeadzoneFilter@{Deadzone\-Filter}}
\subsubsection[{$\sim$\-Deadzone\-Filter}]{\setlength{\rightskip}{0pt plus 5cm}Deadzone\-Filter\-::$\sim$\-Deadzone\-Filter (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_deadzone_filter_abc72aa739e2019de55cb8ea0c660029f}
Destructor for \hyperlink{class_deadzone_filter}{Deadzone\-Filter}. 

\subsection{Member Function Documentation}
\hypertarget{class_deadzone_filter_a76118544494a1c189200749b06f53640}{\index{Deadzone\-Filter@{Deadzone\-Filter}!Apply@{Apply}}
\index{Apply@{Apply}!DeadzoneFilter@{Deadzone\-Filter}}
\subsubsection[{Apply}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Joystick\-Value} Deadzone\-Filter\-::\-Apply (
\begin{DoxyParamCaption}
\item[{const {\bf Joystick\-Value} \&}]{input}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_deadzone_filter_a76118544494a1c189200749b06f53640}
Apply the filter to an input.

If the input is within the deadzone area, a zeroed \hyperlink{struct_joystick_value}{Joystick\-Value} will be returned. If the input is outside the deadzone area, a copy of the input will be returned.


\begin{DoxyParams}{Parameters}
{\em input} & The input \hyperlink{struct_joystick_value}{Joystick\-Value}. \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}{Filter$<$ Joystick\-Value $>$}.

\hypertarget{class_deadzone_filter_aff26f9be31f1f37ad0a42d0bc636ad57}{\index{Deadzone\-Filter@{Deadzone\-Filter}!Apply@{Apply}}
\index{Apply@{Apply}!DeadzoneFilter@{Deadzone\-Filter}}
\subsubsection[{Apply}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Joystick\-Value} Deadzone\-Filter\-::\-Apply (
\begin{DoxyParamCaption}
\item[{const {\bf Two\-Joystick\-Value} \&}]{input}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_deadzone_filter_aff26f9be31f1f37ad0a42d0bc636ad57}
Apply the filter to an input.

If the input is within the deadzone area, a zeroed \hyperlink{struct_two_joystick_value}{Two\-Joystick\-Value} will be returned. If the input is outside the deadzone area, a copy of the input will be returned.


\begin{DoxyParams}{Parameters}
{\em input} & The input \hyperlink{struct_joystick_value}{Joystick\-Value}. \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_filter_a377c1d2a9400698fdf5a41d293fd32b8}{Filter$<$ Two\-Joystick\-Value $>$}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Filters/Deadzone\-Filter.\-hpp\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/\-Filters/Deadzone\-Filter.\-cpp\end{DoxyCompactItemize}
